]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageList: Mark NotificationMessageGroup for export
authorAndy Holmes <andyholmes@gnome.org>
Tue, 18 Mar 2025 09:12:06 +0000 (02:12 -0700)
committerMarge Bot <marge-bot@gnome.org>
Sun, 13 Apr 2025 20:42:26 +0000 (20:42 +0000)
This allows extensions to override `_addNotification()` to create
custom `NotificationMessage` subclasses, which is already possible
for `MessageTray.MessageTray._showNotification()`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3672>

js/ui/messageList.js

index 8ac1564838bd31393faabcbbb9d97619e8f0eab4..169168c3aef64a8513c6f32efbc2ec05e96ccd36 100644 (file)
@@ -832,7 +832,7 @@ class MediaMessage extends Message {
     }
 });
 
-const NotificationMessageGroup = GObject.registerClass({
+export const NotificationMessageGroup = GObject.registerClass({
     Properties: {
         'expanded': GObject.ParamSpec.boolean(
             'expanded', null, null,